package cn.com.dcsgo.mybatis.plus.service;

import cn.com.dcsgo.mybatis.plus.domain.po.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author Dcsgo
 * @since 2024/8/28 10:31
 */

public interface UserService extends IService<User> {
    boolean increaseBalance(Long id,int increment);

    void reduceBalance(Long id, Integer money);

    List<User> queryUsers(String name, Integer status, Integer minBalance, Integer maxBalance);
}
